home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / Devpac 2.12 disk 2.adf / include.cbm / exec / interrupts.i < prev    next >
Text File  |  1987-03-31  |  2KB  |  75 lines

  1.     IFND EXEC_INTERRUPTS_I
  2. EXEC_INTERRUPTS_I SET 1
  3. **********************************************************************
  4. *
  5. *   Commodore Amiga -- ROM Operating System Executive Include File
  6. *
  7. **********************************************************************
  8. *
  9. *   Source Control:
  10. *
  11. *       $Header: interrupts.i,v 33.1 86/04/08 21:55:26 neil Exp $
  12. *
  13. *       $Locker:  $
  14. *
  15. **********************************************************************
  16.  
  17.     IFND EXEC_NODES_I
  18.     INCLUDE "exec/nodes.i"
  19.     ENDC !EXEC_NODES_I
  20.  
  21.     IFND EXEC_LISTS_I
  22.     INCLUDE "exec/lists.i"
  23.     ENDC !EXEC_LISTS_I
  24.  
  25.  
  26. *----------------------------------------------------------------
  27. *
  28. *   Interrupt Structure
  29. *
  30. *----------------------------------------------------------------
  31.         
  32.  STRUCTURE  IS,LN_SIZE
  33.     APTR    IS_DATA
  34.     APTR    IS_CODE
  35.     LABEL   IS_SIZE
  36.  
  37.  
  38. *---------------------------------------------------------------------
  39. *
  40. *   Exec Internal Interrupt Vectors
  41. *
  42. *---------------------------------------------------------------------
  43.  
  44.  STRUCTURE  IV,0
  45.     APTR    IV_DATA
  46.     APTR    IV_CODE
  47.     APTR    IV_NODE
  48.     LABEL   IV_SIZE
  49.  
  50.  
  51. *------ System Flag bits (in SysBase.SysFlags )
  52.  
  53.     BITDEF  S,SAR,15        * scheduling attention required
  54.     BITDEF  S,TQE,14        * time quantum expended -- time to resched
  55.     BITDEF  S,SINT,13
  56.  
  57.  
  58. *---------------------------------------------------------------------
  59. *
  60. *   Software Interrupt List Headers
  61. *
  62. *---------------------------------------------------------------------
  63.  
  64.  STRUCTURE  SH,LH_SIZE
  65.     UWORD   SH_PAD
  66.     LABEL   SH_SIZE
  67.  
  68. SIH_PRIMASK  EQU        $0F0
  69. SIH_QUEUES   EQU        5
  70.  
  71. ** this is a fake INT definition, used only for AddIntServer and the like
  72.         BITDEF  INT,NMI,15
  73.  
  74.     ENDC !EXEC_INTERRUPTS_I
  75.